<@master template="common/default" title="${title}">
<div class="detailsBox clearfix">
	<div class="openBox">
		<div>
		<table>
			<form id="edit_form" action="/hr/query" method="POST">
				<td>
					查询结果共${totalPage}页,当前第${currentPage}页
				</td>
				<td>
					<input name="keyword" type="hidden" value="${page_conditon.keyword}"/>
					<input name="function" type="hidden" value="${page_conditon.function}"/>
					<input name="area" type="hidden" value="${page_conditon.area}"/>
					<input name="update_time" type="hidden" value="${page_conditon.update_time}"/>
				</td>	
				<td>
					<#if currentPage gt 1>
						<button name="prePage" type="text" value="${currentPage-1}">上一页</button>
					</#if>
					<#if totalPage gt currentPage>
						<button name="nextPage" type="text" value="${currentPage+1}">下一页</button>
					</#if>
				</td> 
				<td>
					<input name="page" type="text" style="width:45px;"placeholder="页数" />
					<input class="dlBtn" type="submit" value="跳转"/>
				</td>
			</from>
		</table>
		</div>	
		<div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<td></td>
						<td>学历</td>
						<td>职能</td>
						<td>工作年限</td>
						<td>最近工作单位</td>
						<td>期望工作地区</td>
						<td>关键词</td>
						<td>简历更新时间</td>
						<td></td>
					</tr>					
				</thead>
				<tbody>
					<#list results as result>
					<tr>
						<td>
							<span><a target="_blank" title="${result.id}" href="../hr/queryById?id=${result.id}">查看简历</a></span>
						</td>
						<td>${result.education}</td>
						<td>${result.function}</td>
						<td>${result.work_age}</td>
						<td>${result.company}</td>
						<td>${result.expect_address}</td>
						<td>${result.keyword}</td>
						<td>${result.update_time}</td>
						<td><a class="edit btn_blue" target="_blank" href="${result.url}">去51job看看</a></td>
					</tr>
					</#list>
				</tbody>
			</table>
		</div>
	</div>
</div>

</@master>
